using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    public class UserInfo
    {
        // Fields
        public int iUser_UID;
        public string sIsDel;
        public DateTime sUser_Create_Date;
        public string sUser_Logon_Code;
        public string sUser_Name;
        public string sUser_Password;
        public string sUser_Status;
        public DateTime sUser_Update_Date;

        // Methods
        public UserInfo()
        {
        }

        public UserInfo(string User_Name, string User_Logon_Code, string User_Password, string User_Status)
            : this(0, User_Name, User_Logon_Code, User_Password, User_Status, DateTime.Now, DateTime.Now, "0")
        {
        }

        public UserInfo(int User_UID, string User_Name, string User_Logon_Code, string User_Password, string User_Status)
            : this(User_UID, User_Name, User_Logon_Code, User_Password, User_Status, DateTime.Now, DateTime.Now, "0")
        {
        }

        public UserInfo(int User_UID, string User_Name, string User_Logon_Code, string User_Password, string User_Status, DateTime User_Create_Date, DateTime User_Update_Date)
            : this(User_UID, User_Name, User_Logon_Code, User_Password, User_Status, User_Create_Date, User_Update_Date, "0")
        {
        }

        public UserInfo(int User_UID, string User_Name, string User_Logon_Code, string User_Password, string User_Status, DateTime User_Create_Date, DateTime User_Update_Date, string IsDel)
        {
            this.iUser_UID = User_UID;
            this.sUser_Name = User_Name;
            this.sUser_Logon_Code = User_Logon_Code;
            this.sUser_Password = User_Password;
            this.sUser_Status = User_Status;
            this.sUser_Create_Date = User_Create_Date;
            this.sUser_Update_Date = User_Update_Date;
            this.sIsDel = IsDel;
        }

        // Properties
        public string IsDel
        {
            get
            {
                return this.sIsDel;
            }
        }

        public DateTime User_Create_Date
        {
            get
            {
                return this.sUser_Create_Date;
            }
        }

        public string User_Logon_Code
        {
            get
            {
                return this.sUser_Logon_Code;
            }
        }

        public string User_Name
        {
            get
            {
                return this.sUser_Name;
            }
        }

        public string User_Password
        {
            get
            {
                return this.sUser_Password;
            }
        }

        public string User_Status
        {
            get
            {
                return this.sUser_Status;
            }
        }

        public int User_UID
        {
            get
            {
                return this.iUser_UID;
            }
        }

        public DateTime User_Update_Date
        {
            get
            {
                return this.sUser_Update_Date;
            }
        }

    }
}
